package com.acme.bankapp.domain.bank;

public class Email {
    private String subject;
    private String body;
    private String emailAddress;
    private String receiver;

    public Email(Client client) {
        this.emailAddress = client.getEmailAddress();
        this.body = "You were added";
        this.subject = "Notification";
        this.receiver = client.getSalutation();
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public String getReceiver() {
        return receiver;
    }
}
